﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 交易员五日均值
    /// </summary>
    public interface IOperatorFiveDayAvg
    {
        void InitOperatorFiveDayAvg(int tradeHistoryId);

        void Delete(int tradeHistoryId);
        /// <summary>
        /// 获取交易员查询日期之前的五日均值
        /// </summary>
        /// <param name="operatorId"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        /// <returns></returns>
        OperatorFiveDayAvg GetOperatorFiveDayAvg(int operatorId, int tradeHistoryId);


        /// <summary>
        /// 初始化交易员五日均值(这个方法应该没问题)
        /// </summary>
        /// <returns></returns>
        void SetOperatorFiveDayAvg(int operatorId, int tradeHistoryId);
    }
}
